package com.crm.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @version 1.0
 * @description:
 * @date 2024/6/11 14:33
 */

@Data
@Schema(description = "用户更新")
public class UserUpdateDto {

    @Schema(description = "id")
    @NotBlank(message = "id不能为空")
    private  Long id;

    @Schema(description = "昵称")
    private  String fullName;

    @Schema(description = "手机号")
    private  String phone;

    @Schema(description = "邮箱")
    @Email
    private  String email;
    @Schema(description = "部门id")
    private Long departmentId;
}